﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Templay;

namespace Sample3.Tags
{
    public class Border : Tag
    {

        public int Count { get; set; }

        public override void Process(params object[] parameters)
        {
            string border = "";

            for (int i = 0; i < Count; i++)
                border += "-";

            Console.WriteLine(border);

            ProcessChildrens(parameters);

            Console.WriteLine(border);

        }

    }
}
